<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:1px;">
  <t:datagrid name="saleDebtAnalysisList" title="销售欠款分析" actionUrl="saleMinidaoController.do?datagrid2"  idField="id"  fit="true" queryMode="group" autoLoadData="false" pagination="false">
   <t:dgCol title="编号" field="id" hidden="false" ></t:dgCol>
   <t:dgCol title="日期" field="FDate"  formatter="yyyy-MM"  isDate="true" query="true" hidden="false"></t:dgCol>
   <t:dgCol title="客户名称" field="FCUSTNAME" query="true"></t:dgCol>
   <t:dgCol title="上期欠款数" field="SQQK" ></t:dgCol>
   <t:dgCol title="开票数量" field="KPSL" ></t:dgCol>
   <t:dgCol title="开票金额" field="KPJE" ></t:dgCol>
   <t:dgCol title="现款收款" field="XKSK" ></t:dgCol>
   <t:dgCol title="承兑收款" field="CDSK" ></t:dgCol>
    <t:dgCol title="电汇" field="DHSK" ></t:dgCol>
    <t:dgCol title="其他收款" field="QTSK" ></t:dgCol>
   <t:dgCol title="收款总数" field="SKZS" ></t:dgCol>
   <t:dgCol title="月末欠款数" field="YMQK" ></t:dgCol>
	<t:dgToolBar title="导出"  icon="icon-print"    onclick="export2()"  operationCode="export"></t:dgToolBar>
  </t:datagrid>
  </div>
</div>


<script type="text/javascript" charset="utf-8">
	/*
	 *	excel导出
	 */
	function export2() {
		export1("saleMinidaoController.do?export_qkfx","saleDebtAnalysisList");
	}
	
</script>

